class CreateServices < ActiveRecord::Migration
  def self.up
    create_table :services do |t|
       t.column :user_id, :integer   #riferiemnto per accedere all'user del servizio
       t.column :ff_id, :string               #friend feed service id
       t.column :service_name, :string        #display name of the service, e.g., Google Reader.
       t.column :service_url, :string         #home of the service.
       t.column :username_on_service, :string  #user account on the service.
       t.column :user_url_on_service, :text #URL of user’s home on the service
      
      # t.timestamps
    end
  end

  def self.down
    drop_table :services
  end
end
